{% extends "kore2columns.html" %}
{% load i18n %}

{% load multimedia_extras %}

{% block main-content %}
	{% for slideshow in object_list %}
	
	
	<a href="{{ slideshow.id }}">
	    {% if slideshow.image_set.all %}
	    <img src="{% thumbnail slideshow.image_set.all.0.image 80 80 %}" class="small-sticker" />
		{% else %}
		<img src="{{ MEDIA_URL }}static/img/default_profile.jpg" width="80"  class="small-sticker"/>
	    {% endif %}
	    <b>{{ slideshow.title }}</b>
	    {% if slideshow.text %}
	    {% autoescape off %}
    		{{ slideshow.text|truncatewords_html:13 }}
	    {% endautoescape %}
	    {% else %}
	    <p>Consulter les documents</p>
	    {% endif %}
	    
	    <div style="clear:both;"></div>
	</a>
	

{% endfor %}
{% endblock %}
